var e = require;
var t = module;
var o = exports;
var n = o;
Object.defineProperty(n, "__esModule", {value: !0}), (n.CustomType = void 0), e("ADAssetsManager");
var i,
    a,
    r,
    s = e("ADInterface"),
    c = e("EmptyAD");
e("HWAD"),
    e("MZAD"),
    e("OPPOAD"),
    e("QQAD"),
    e("TTAD"),
    e("BDAD"),
    e("WeChatAD"),
    e("VIVOAD"),
    e("ANDROIDAD"),
    ((r = i || (i = {}))[(r.UNKNOWN = 0)] = "UNKNOWN"),
    (r[(r.BROWSER = 1)] = "BROWSER"),
    (r[(r.ANDROID = 2)] = "ANDROID"),
    (r[(r.IPHONE = 3)] = "IPHONE"),
    (r[(r.IPAD = 4)] = "IPAD"),
    (r[(r.QQ = 5)] = "QQ"),
    (r[(r.WECHAT = 6)] = "WECHAT"),
    (r[(r.OPPO = 7)] = "OPPO"),
    (r[(r.VIVO = 8)] = "VIVO"),
    (r[(r.TOU_TIAO = 9)] = "TOU_TIAO"),
    (r[(r.HUAWEI_GAME = 10)] = "HUAWEI_GAME"),
    (r[(r.BAI_DU = 11)] = "BAI_DU"),
    (r[(r.MEI_ZU = 12)] = "MEI_ZU"),
    (r[(r.SSJJ = 13)] = "SSJJ"),
    (function (e) {
        (e[(e.Horizontal = 0)] = "Horizontal"), (e[(e.Vertical = 1)] = "Vertical");
    })((a = n.CustomType || (n.CustomType = {}))),
    (window.ad = {}),
    (ad.launchTime = new Date().getTime()),
    (ad.Platform = i),
    (ad.CustomType = a),
    (ad.VideoADState = s.VideoADState),
    (ad.curr_platform = ad.Platform.UNKNOWN),
    window.mz_jsb && (ad.curr_platform = ad.Platform.BROWSER),
    (ad.adInterface = new c.default()),
    ad.curr_platform,
    (ad.isInit = !1),
    (ad.initAD = function () {
        ad.isInit ? console.warn("请勿重复初始化!") : ((ad.isInit = !0), ad.adInterface && ad.adInterface.initAD());
    });
